/*
 * @Author: Aaron
 * @Date: 2022-03-11 09:31:23
 * @LastEditors: Aaron
 * @LastEditTime: 2022-03-11 17:53:05
 * @Description: file content
 * @FilePath: \ias_ui\src\views\coi\commonJs\spuTableHeader.js
 * @Company: 沃尔玛
 */

// spu商品库编辑发起校验弹窗列表
export const spuErrInfoList = [
  {
    type: 'selection',
    name: '复选框',
    value: 'selection',
    width: '40',
    minWidth: '110',
    fixed: 'left'
  },
  {
    name: '部门',
    value: 'deptNbr',
    minWidth: '80'
  },
  {
    name: 'Fineline',
    value: 'fineLineNbr',
    minWidth: '100'
  },
  {
    name: 'UPC(不含检验码)',
    value: 'upcWoCd',
    minWidth: '130'
  },
  {
    name: 'UPC',
    value: 'upcNbr',
    minWidth: '100'
  },
  {
    name: '商品名称',
    value: 'upcName',
    minWidth: '100'
  },
  {
    name: 'VSK',
    value: 'vsk',
    minWidth: '100'
  },
  {
    name: 'spu ID',
    value: 'skuCode',
    minWidth: '80'
  },
  {
    name: '校验结果',
    value: 'checkDesc',
    minWidth: '80'
  }
]

// spu编辑
export const spuEditList = [
  {
    type: 'selection',
    name: '复选框',
    value: 'selection',
    width: '40',
    minWidth: '110',
    fixed: 'left'
  },
  {
    name: 'SPU ID',
    value: 'id',
    minWidth: '80'
  },
  {
    name: 'SPU名称',
    value: 'chgSpuName',
    minWidth: '80',
    slot: 'spuName'
  },
  {
    name: 'SKU数量',
    value: 'skuCount',
    minWidth: '80'
  },
  {
    name: '状态',
    value: 'mainStatusDesc',
    minWidth: '80'
  },
  {
    name: '状态备注',
    value: 'processRemark',
    minWidth: '80'
  },
  {
    name: '部门',
    value: 'deptNbr',
    minWidth: '80'
  },
  {
    name: '更新人',
    value: 'updateUserName',
    minWidth: '80'
  },
  {
    name: '更新时间',
    value: 'updatedTime',
    minWidth: '80'
  },
  {
    name: '操作',
    width: '110',
    fixed: 'right',
    btnList: [
      { text: '操作日志',
        on: 'operationLog'
      }
    ]
  }
]
